package com.xiaozhen.common.core.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * HISTORY
 *
 * @author zhenweisheng
 * @date 2021/9/1 14:34
 * @description:
 */
@Getter
public enum UserSexEnum {
    MAN(0, "男"),
    WOMEN(1, "女"),
    UNKNOWN(2, "未知");

    UserSexEnum(Integer sex, String msg) {
        this.sex = sex;
        this.msg = msg;
    }

    @EnumValue
    private Integer sex;
    private String msg;
}
